
import  re


# text = re.findall('\d{11}','张三,18712345678,23')
# print(text)

parent = re.compile('\d{11}')
text = parent.findall('张三,18712345678,23')
print(text)